package com.hznu.jspFinal.entity;

public class Class {
private Integer id;

private String name;

private Integer majorid;

public Integer getId() {
        return id;
        }

public void setId(Integer id) {
        this.id = id;
        }

public String getName() {
        return name;
        }

public void setName(String name) {
        this.name = name == null ? null : name.trim();
        }

public Integer getMajorid() {
        return majorid;
        }

public void setMajorid(Integer majorid) {
        this.majorid = majorid;
        }
        }